package nc.itf.pub.service;

import java.util.List;
import java.util.Map;

import nc.vo.pub.BusinessException;

public interface IQuerySubjectService {
	/**
	 * 查询会计科目,最大和最小编码
	 * @param pk_accchart 科目表
	 * @param acountStart 会计科目开始编码
	 * @return
	 * @throws BusinessException
	 */
    List<Map<String,Object>> queryAccasoaStartAndEndCodeBypk(String pk_accchart, String acountStart) throws BusinessException;

	/**
	 * 查询会计科目编码
	 * @param pk_accchart   科目表
	 * @param acountCode 会计科目编码
	 * @return
	 * @throws BusinessException
	 */
    Map<String, Object> queryAccasoaCodeBypk(String pk_accchart, String acountCode) throws BusinessException;
	
	/**
	 * 参数处理
	 * @param param 请求参数
	 * @return
	 * @throws BusinessException
	 */
    Map<String, Object> handlerParam(Map<String, Object> param, List<Map<String, Object>> lists) throws BusinessException;
	
	/**
	 * 处理辅助明细和辅助余额表
	 * @param pk_accchart
	 * @param param
	 * @param lists
	 * @return
	 * @throws BusinessException
	 */
    Map<String, Object> handlerYeAndMXParam(String pk_accchart, Map<String, Object> param) throws BusinessException;
}
